﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace ZY.EntityFrameWork.Core.Model.Entity
{
    /// <summary>
    /// 对应数据库的表tb_arvinfo的实体类
    /// 可以序列化
    /// </summary>
    public class ArchiveInfo : BaseEntity
    {
        /// <summary>
        /// 档案编号
        /// </summary>
        [Display(Name = "档案编号")]
        public string ArvID { get; set; }

        /// <summary>
        /// 档案名称
        /// </summary>
        [Display(Name = "档案名称")]
        public string ArvTitle { get; set; }

        /// <summary>
        /// 档案盒编号
        /// </summary>
        [Display(Name = "档案盒编号")]
        public string ArvBoxID { get; set; }

        /// <summary>
        /// 档案盒名称
        /// </summary>
        [Display(Name = "档案盒名称")]
        public string ArvBoxTitle { get; set; }

        /// <summary>
        /// 所属部门
        /// </summary>
        [Display(Name = "所属部门")]
        public string ArvUnit { get; set; }

        /// <summary>
        /// 档案类型
        /// </summary>
        [Display(Name = "档案类型")]
        public string ArvType { get; set; }

        /// <summary>
        /// 所属年度
        /// </summary>
        [Display(Name = "所属年度")]
        public string ArvYear { get; set; }

        /// <summary>
        /// 电子标签ID
        /// </summary>
        [Display(Name = "电子标签ID")]
        public string LabelID { get; set; }

        /// <summary>
        /// 档案状态
        /// </summary>
        [Display(Name = "档案状态")]
        public string ArvStatus { get; set; }

        /// <summary>
        /// 备用1
        /// </summary>
        [Display(Name = "备用1")]
        public string Edoc { get; set; }

        /// <summary>
        /// 备用2
        /// </summary>
        [Display(Name = "备用2")]
        public string Rsv2 { get; set; }

        /// <summary>
        /// 备用3
        /// </summary>
        [Display(Name = "备用3")]
        public string Rsv3 { get; set; }

        /// <summary>
        /// 备用4
        /// </summary>
        [Display(Name = "备用4")]
        public string Rsv4 { get; set; }

        /// <summary>
        /// 备用5
        /// </summary>
        [Display(Name = "备用5")]
        public string Rsv5 { get; set; }

        /// <summary>
        /// 档案存储位置
        /// 与存储位置表关联，是1：1关系
        /// 主键ArvID是存储位置表的外键
        /// </summary>
        public virtual ArvLocation ArvLocation { get; set; }
    }
}
